package br.com.mtech.ctrlliberty.mobile.util;

import java.util.List;

import br.com.mtech.ctrlliberty.mobile.entity.InternetVO;
import br.com.mtech.ctrlliberty.mobile.entity.LigacaoVO;
import br.com.mtech.ctrlliberty.mobile.entity.MensagemVO;

import com.google.gson.Gson;

public class JsonUtil {
	
	public static String fromLigacao (List<LigacaoVO> listaLigacoes) {
		
		Gson gson = new Gson();
		
		return gson.toJson(listaLigacoes);
	}
	
	public static String fromMensagem (List<MensagemVO> listaMensagem) {
		
		Gson gson = new Gson();
			
		return gson.toJson(listaMensagem);
	}
	
	public static String fromInternet (List<InternetVO> listaInternet) {
		
		Gson gson = new Gson();
			
		return gson.toJson(listaInternet);
	}

}
